package com.igeekhome.mapper;

import com.igeekhome.pojo.DItemnameMaintenance;
import com.igeekhome.pojo.DItemnameMaintenanceExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface DItemnameMaintenanceMapper {
    int countByExample(DItemnameMaintenanceExample example);

    int deleteByExample(DItemnameMaintenanceExample example);

    int deleteByPrimaryKey(Integer itemId);

    int insert(DItemnameMaintenance record);

    int insertSelective(DItemnameMaintenance record);

    List<DItemnameMaintenance> selectByExample(DItemnameMaintenanceExample example);

    DItemnameMaintenance selectByPrimaryKey(Integer itemId);

    int updateByExampleSelective(@Param("record") DItemnameMaintenance record, @Param("example") DItemnameMaintenanceExample example);

    int updateByExample(@Param("record") DItemnameMaintenance record, @Param("example") DItemnameMaintenanceExample example);

    int updateByPrimaryKeySelective(DItemnameMaintenance record);

    int updateByPrimaryKey(DItemnameMaintenance record);
}